home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0147.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  620 b   |  26 lines

  1.  
  2.  Fellow Blitzers,
  3.  
  4.         Anyone know how to write an array to a file, using PUT?
  5.  I've tried the following:
  6.  
  7.  
  8.        Dim s(37,43)
  9.        ; Fill 's' with the data etc.
  10.  
  11.        ok=OpenFile(0,"DH0:blitz2/data.dat")
  12.        Fields 0,s
  13.        Put 0,0
  14.  
  15.        CloseFile 0
  16.  
  17.  When I check the length of the file created, it is only 4 bytes.
  18.  Can anyone see what the problem is?
  19.  
  20.  
  21.  -Matt.
  22.  ____________________________________________________________________________
  23. ////////// Matthew O'Donnell |||||||||| modonnell@email.meto.govt.uk \\\\\\\\\
  24. ------------------------------------------------------------------------------
  25.  
  26.